<@admin.html >
<div class="title">
<h1>添加招募</h1>
	<span class="tTip">标注"<em>*</em>"为必填项</span>
</div>
<div class="box">
	<div class="inner">
		<div class="tx_table">
			<h2>编辑招募</h2>
			<form name="saveForm" id="saveForm" action="${base}/admin/recruit/index!save" method="post">
				<#if recruit??><#if recruit.id??><input type="hidden" name="recruit.id" value="${(recruit.id?c)}"/></#if>
							<#if recruit.createDate??><input type="hidden" name="recruit.createDate" value="${recruit.createDate?string("yyyy-MM-dd")!}"/></#if>
				</#if>
			<div class="data">
				<table>
					<colgroup width="24%"></colgroup>
					<tbody>
						<tr>
							<th>招募标题：</th>
							<td>
								<input class="Q" type="text" name="recruit.title" id="news_title" size="32" value="${(recruit.title)!}"/>
								<span id="news_titleTip"></span>
							</td>
						</tr>
						
						<tr>
							<th>封面上传：</th>
							<td class="tx_sender" style="text-align:left;">
								<input id="upload_1" class="F" name="upload" type="file" value="" onchange="return ajaxFileUpload(this);"/>
								<img id="loading" src="" style="display:none;">
								<input id="hidden_1" type="hidden" name="recruit.cover" value=""/>	
							</td>
						</tr>
						<tr>
							<th>图片预览：</th>
							<td>
								<ul class="pic_preview">
									<li>
										<span class="pic">
											<div id="imgshow_pic">
												<#if recruit??>
												<#if recruit.cover??>
												<img id="imgshow_1" width="474px" height="198px" src="${(recruit.cover)!}"class="multiple_img"/>
												</#if>
												<#else>
												<img id="imgshow_1" width="474px" height="198px" src="${statics}/plugins/fileupload/pic_upload_default.jpg"  class="multiple_img"/>
												</#if>
											</div>
										</span>

									</li>
								</ul>
							</td>
						</tr>

						<tr>
							<th>详细内容：</th>
							<td><div id="news_content"><textarea name="recruit.content">${(recruit.content)!}</textarea></div></td>
						</tr>
					</tbody>
				</table>
				<div class="tx_sender">
						<input class="step" type="submit" value="保 存" />
				</div>
			</div>
			</form>
		</div>
	</div>
</div>
<script type="text/javascript">
	window.onload = function() {	
		var oFCKeditor = new FCKeditor( 'recruit.content' ) ;
		oFCKeditor.BasePath = "${statics}/plugins/editor/fckeditor/"
		oFCKeditor.ReplaceTextarea() ;
	}
</script>
</@admin.html >